
from sqlmodel import SQLModel
from typing import Optional,List
from fastapi_amis_admin.models.fields import Field

class Base(SQLModel):
    pass


class Vehicle(SQLModel, table=True):
    __tablename__ = "vehicle"
    id: Optional[int]=Field(primary_key=True)
    name: Optional[str]=Field(default='', max_length=100)
    model: Optional[str]=Field(default='', max_length=20)


